package com.carlwang.pojo;

import java.util.Date;
import java.util.Set;


public class News {

	private long mId;
	private String mTitle;
	private String mContent;
	private Date mPostDate;
	private Date mLastModifyDate;
	private User mPoster;
	private Category mCategory;
	private Set<NewsReview> mNewsReview;
	public long getId() {
		return mId;
	}
	public void setId(long pId) {
		mId = pId;
	}
	public String getTitle() {
		return mTitle;
	}
	public void setTitle(String pTitle) {
		mTitle = pTitle;
	}
	public String getContent() {
		return mContent;
	}
	public void setContent(String pContent) {
		mContent = pContent;
	}
	public Date getPostDate() {
		return mPostDate;
	}
	public void setPostDate(Date pPostDate) {
		mPostDate = pPostDate;
	}
	public Date getLastModifyDate() {
		return mLastModifyDate;
	}
	public void setLastModifyDate(Date pLastModifyDate) {
		mLastModifyDate = pLastModifyDate;
	}
	public User getPoster() {
		return mPoster;
	}
	public void setPoster(User pPoster) {
		mPoster = pPoster;
	}
	public Category getCategory() {
		return mCategory;
	}
	public void setCategory(Category pCategory) {
		mCategory = pCategory;
	}
	public Set getNewReviews() {
		return mNewReviews;
	}
	public void setNewReviews(Set pNewReviews) {
		mNewReviews = pNewReviews;
	}
	public Set<NewsReview> getNewsReview() {
		return mNewsReview;
	}
	public void setNewsReview(Set<NewsReview> newsReview) {
		mNewsReview = newsReview;
	}
	private Set mNewReviews;
	
}
